package com.graduate.game.shop.service;

import com.graduate.game.shop.mapper.goodsMapper;
import com.graduate.game.shop.pojo.goods;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class goodsServiceImpl implements goodsService {
    @Resource
    goodsMapper goodsMapper;
    @Override
    public List<goods> getallgoodsGoods() {
        List<goods> allGoods = goodsMapper.getAllGoods();
        return allGoods;
    }
}
